package com.woniu.supermarket.service;

import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.entity.Unit;

import java.util.List;

public interface IUnitService {
    int remove(int id);
    int add(Unit unit);
    PageInfo<Unit> queryByPage(Integer now, Integer size, String cons);
    int modify(Unit unit);
    Unit queryById(int id);
    List<Unit> findAll();

}
